- 
		Home
	
 
	- 
AweBooking – Hotel Booking System
 
- 
3.2.26 (latest)
 
- 
Code
 
- 
Classes
 
-  Room_Rate 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											57 | 
										
																			
											| Dependencies | 
											15 | 
										
																			
											| Dependents | 
											3 | 
										
																	
							 
													
								
																			
											| Total lines | 
											516 | 
										
																			
											| Lines of code | 
											205 | 
										
																			
											| Logical lines of code | 
											115 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											208 | 
										
																			
											| Methods | 
											27 | 
										
																			
											| Properties | 
											11 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 27
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| get_mixed_rates_breakdown() | 
									S  | 
																	55 | 
													6 | 
													18 | 
							
					
				| find_overlaps_day_price() | 
									S  | 
																	56 | 
													6 | 
													18 | 
							
					
				| additional() | 
									S  | 
																	54 | 
													5 | 
													21 | 
							
					
				| find_matches_seasons() | 
									S  | 
																	58 | 
													4 | 
													16 | 
							
					
				| calculate_costs() | 
									S  | 
																	54 | 
													3 | 
													21 | 
							
					
				| using() | 
									S  | 
																	56 | 
													3 | 
													18 | 
							
					
				| is_visible() | 
									S  | 
																	64 | 
													4 | 
													9 | 
							
					
				| setup() | 
									S  | 
																	58 | 
													2 | 
													14 | 
							
					
				| precheck() | 
									S  | 
																	67 | 
													2 | 
													7 | 
							
					
				| get_remain_rooms() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| get_reject_rooms() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| retrieve_rate_breakdown() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| get_price() | 
									S  | 
																	73 | 
													2 | 
													5 | 
							
					
				| __construct() | 
									S  | 
																	71 | 
													1 | 
													6 | 
							
					
				| get_request() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_room_type() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_rate_plan() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_availability() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_rates_availability() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_timespan() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_guest_counts() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_room_rate() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_breakdown() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_additional_rates() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_additional_breakdowns() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_rate() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_prices() | 
									S  | 
																	82 | 
													1 | 
													3 |